package model

type Users struct {
	Id         int    `json:"id",gorm:"primary_key;AUTO_INCREMENT"`
	CreateTime string `json:"create_time"`
	ModifyTime string `json:"modify_time"`
	FamilyId   int    `json:"family_id"`
	Status     int    `json:"status"`
	Deleted    int    `json:"deleted"`
	Username   string `json:"username"`
	Phone      string `json:"phone"`
	Password   string `json:"password"`
	Avatar     string `json:"avatar"`
	Gender     string `json:"gender"`
	City       string `json:"city"`
	Country    string `json:"country "`
	Summary    string `json:"summary"`
}

func (Users) TableName() string {
	return "jk_users"
}
